<?php namespace Phpcmf\Controllers\Member;

class Woquan extends \Phpcmf\Member\Module
{

	// 圈子列表
	public function index() {

		$meta_title = '我的圈子';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('woquan.html');
	}
	// 圈帖子列表
	public function quantie() {
	
		$meta_title = '我的圈帖';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('quantie.html');
	}
	// 圈帖收藏
	public function shoucang() {
	
		$meta_title = '我的收藏';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('shoucang.html');
	}
	// 圈帖点赞
	public function zan() {
	
		$meta_title = '我的点赞';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('zan.html');
	}
	// 圈帖评论
	public function pinglun() {
	
		$meta_title = '我的评论';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('pinglun.html');
	}
	// 通知
	public function tongzhi() {
	
		$meta_title = '我的通知';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('tongzhi.html');
	}
	// 钱包
	public function qianbao() {
	
		$meta_title = '我的钱包';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('qianbao.html');
	}
	// 已购买
	public function yigoumai() {
	
		$meta_title = '已购买';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('yigoumai.html');
	}
	// 积分
	public function jifen() {
	
		$meta_title = '我的积分';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('jifen.html');
	}
	// 经验
	public function jingyan() {
	
		$meta_title = '我的经验';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('jingyan.html');
	}
	// 粉丝
	public function fensi() {
	
		$meta_title = '我的粉丝';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('fensi.html');
	}
	// 关注
	public function guanzhu() {
	
		$meta_title = '我的关注';
		// 将变量传入模板
		\Phpcmf\Service::V()->assign([
		    'p' => $p,
		    'stype' => $stype,
		    'sname' => strlen($tid) ? $stype[$tid] : '全部',
			'meta_title' => $meta_title,
		]);
		
		\Phpcmf\Service::V()->display('guanzhu.html');
	}

}
